package com.xh.bussiness.system.service;



import com.xh.bussiness.system.bean.dto.IconDto;
import com.xh.bussiness.system.bean.request.IconRequest;
import com.xh.bussiness.system.model.Icon;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 * 图标 服务类
 * </p>
 *
 * @author zwb
 * @since 2021-06-03
 */
public interface IIconService extends IBaseService<Icon> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryIconPage(XhPage page, IconRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryIcon(IconRequest bean);

    List<IconDto> queryIconBySubject(IconRequest bean);

    XhPage<IconDto> queryIconPageBySubject(XhPage xhPage,IconRequest bean);

    boolean batchInsertIcon(List<Icon> icons);

    boolean InsertIcon(List<IconRequest> iconRequests);

    boolean updateIcon(List<IconRequest> iconRequests);

    boolean off(String ids,Integer status);

//    List<IconDto> getIconPage( XhPage page,IconRequest bean);
}
